#ifndef USERMANAGER_H
#define USERMANAGER_H

#include <QObject>
#include <QByteArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QMessageBox>
#include <QList>
#include <Entity/DictData.h>
#include <api/systemManager/UserManagerApi.h>
#include <Entity/TreeSelect.h>
#include <QVariant>

class UserManager : public QObject
{
    Q_OBJECT
public:
    explicit UserManager(QObject *parent = nullptr);

    //状态
    QList<DictData> *getDictData(QNetworkReply *reply);
    QList<TreeSelect> *getTreeSelect();
    QString getInitPassword();
    QList<User> *getList(QJsonObject obj);

private:
    UserManagerApi userManagerApi;
    Utils utils;
    QList<TreeSelect> * getTree(QJsonArray obj);

signals:

};

#endif // USERMANAGER_H
